{% extends "base.html" %}

 {% block main %}
 <!-- Main Page Content and Sidebar -->
  <div class="row">
    <div class="large-12 columns">
      <div class="panel">
        <h5>Special offer</h5>
        <p>This is a three columns grid panel with an arbitrary height.</p>
      </div>
     </div>
  </div>
  <div class="row">
 	{% if user.is_authenticated %}
    <div class="large-3 columns">
      <div class="panel">
        <h5>Personal information</h5>
        <p>{{ user.last_name }}, {{user.first_name}}<br>
        <a href="#">{{ user.email }}</a></p>
      </div>
    </div>
    <div class="large-6 columns">
    {% else %}
    <div class="large-9 columns">
    {% endif %}
      <div class="panel">
        <h5>Offer 1</h5>
        <p>This is a six columns grid panel with an arbitrary height. Bacon ipsum dolor sit amet salami ham hock biltong ball tip drumstick sirloin pancetta meatball short loin.</p>
      	<p align="right"><span class="label">Details...</span></p>
      </div>
      <div class="panel">
        <h5>Offer 2</h5>
        <p>This is a six columns grid panel with an arbitrary height. Bacon ipsum dolor sit amet salami ham hock biltong ball tip drumstick sirloin pancetta meatball short loin.</p>
      	<p align="right"><span class="label">Details...</span></p>
      </div>
      <div class="panel">
        <h5>Offer 3</h5>
        <p>This is a six columns grid panel with an arbitrary height. Bacon ipsum dolor sit amet salami ham hock biltong ball tip drumstick sirloin pancetta meatball short loin.</p>
      	<p align="right"><span class="label">Details...</span></p>
      </div>
      <div class="panel">
        <h5>Offer 4</h5>
        <p>This is a six columns grid panel with an arbitrary height. Bacon ipsum dolor sit amet salami ham hock biltong ball tip drumstick sirloin pancetta meatball short loin.</p>
      	<p align="right"><span class="label">Details...</span></p>
      </div>
    
    </div>
    <div class="large-3  columns">
      <div class="panel">
        <h5>Search criteria</h5>
        <p>
        <b>Location:</b> DFW, Texas<br>
        <b>Type:</b>Sale<br>
        </p>
      </div>
    </div>
 
  </div>
 
{% endblock %}